import Vue from 'vue'
import App from './App.vue'

//三级联动组件注册成全局组件
import TypeNav from '@/components/TypeNav';
//第一个参数：组件名字，第二个参数：哪一个组件
Vue.component('TypeNav', TypeNav)


/* Vue.config.productionTip = false */
import router from "@/router"
import store from '@/store'


// 引入 mockServe.js  -----mock数据
import "@/mock/mockServe"
import "swiper/css/swiper.css"

//接口测试
//import  {reqCategoryList}  from "@/api"
//reqCategoryList()

new Vue({
  store,
  render: h => h(App),
  router
}).$mount('#app')
